@echo off
javac gestorBD/*.java
javac gestorHotel/*.java
javac gestorHotel/factura/*.java
javac gestorHotel/habitacion/*.java
javac gestorHotel/reserva/*.java
javac gestorHotel/servicios/*.java
javac gestorHotel/usuarios/*.java
javac uiMain/menuconsola/*.java
javac Servidor/*.java
rmic Servidor/UsuarioRemoto


start rmiregistry
java uiMain/menuconsola/Main
pause
exit